.banner {
    width: 100%;
    margin-top: 70px;

    img {
        width: 100%;
    }
}

.showBox{
    padding: 0.75rem 1.25rem;
}

a,
a:hover {
    text-decoration: none;
}

.content {
    .tabbar_c {
        border-bottom: 2px solid #e3e3e3;
        padding-top: 55px;
        text-align: center;

        .tabbar_m {
            margin: 0 auto;
            display: inline-block;

            .tabbar {
                width: 140px;
                height: 60px;
                text-align: center;
                line-height: 60px;
                position: relative;
                font-size: 16px;
                display: inline-block;
                cursor: pointer;
                font-weight: 500;
                color: #4d4d4d;
            }

            .active {
                color: #1d2080;
            }

            .active::before {
                content: "";
                position: absolute;
                bottom: -2px;
                height: 2px;
                width: 57px;
                background-color: #4989d1;
                left: 50%;
                transform: translateX(-50%);
            }
        }
    }

    .btn:focus {
        border: none;
        box-shadow: none;
    }

    .container {
        padding-top: 50px;
        padding-bottom: 50px;
    }



    .stickList,
    .newsList {
        width: 66.7%;
        .list {
            width: 100%;
            height: 100%;

            .article {
                width: 47.5%;
                margin-right: 2%;
                background-color: #eeefef;
                margin-bottom: 30px;
                display: inline-block;
                vertical-align: top;
                img {
                    width: 100%;
                }

                .article_c {
                    padding: 20px;
                    box-sizing: border-box;

                    h3 {
                        text-align: center;
                        font-weight: 600;
                        font-size: 24px;
                        color: #333;
                    }

                    .time {
                        font-size: 20px;
                        color: #666;
                        text-align: center;
                    }

                    p {
                        font-size: 18px;
                        color: #666;
                        height: 80px;
                        line-height: 40px;
                        margin-top: 30px;
                        display: -webkit-box; //谷歌
                        -webkit-box-orient: vertical;
                        -webkit-line-clamp: 2; //显示几行
                        overflow: hidden;
                        margin-bottom: 0;
                    }
                }

            }
        }
    }

    .stickList {
        width: 33.3%;
        float: right;
        max-height: 1290px;
        overflow-y: scroll;
        background-color: #eeefef;

        .list {
            .article {
                width: 100%;
                margin: 0;
                .article_c{
                    p{
                        height: auto;
                    }
                }
            }

            .article:nth-child(n+2) {
                width: 100%;

                .article_c {

                    h3,
                    .time {
                        text-align: left;
                    }
                }
            }

            .serial {
                display: inline-block;
                width: 30px;
                height: 30px;
                border-radius: 50%;
                border: 1px solid #333;
                text-align: center;
                line-height: 28px;
                font-size: 20px;
                vertical-align: middle;
                box-sizing: border-box;
                margin-top: -1%;
                margin-right: 5px;
            }
        }
    }

    /* 伪元素添加的标签是行内, 要求块 */
    .container::after {
        content: '';
        /* 伪元素添加的标签是行内, 要求块 */
        display: block;
        clear: both;
        /* 补充代码：在网页中看不到伪元素 */
        /* 为了兼容性 */
        height: 0;
        visibility: hidden;
    }

    .newsList {
        width: 100%;
        padding-right: 33.3%;
        box-sizing: border-box;

    }

    .stickList::-webkit-scrollbar {
        width: 4px;
        /*高宽分别对应横竖滚动条的尺寸*/
        height: 0px;
    }

    .stickList::-webkit-scrollbar-thumb {
        border-radius: 10px;
        background: rgba(0, 0, 0, 0.2);
    }

    .stickList::-webkit-scrollbar-track {
        border-radius: 0;
        background: rgba(0, 0, 0, 0.1);
    }
}

#demo1 {
    text-align: center;
    .layui-laypage-em{
        background-color: #3399cc;
    }
    .layui-laypage a:hover{
        color: #3399cc;
    }
}

@media (min-width:992px) {
    .showBox {
        display: none;
    }

    .banner {
        margin-top: 118px;
    }

    .collapse:not(.show) {
        display: block;
    }
}

@media (max-width:991.9px) {
    .showBox {
        display: block;
    }

    .content {
        .tabbar_c {
            padding-top: 20px;

            .tabbar_m {
                .tabbar {
                    display: block;
                    text-align: center;
                    font-size: 16px;
                    height: 40px;
                    line-height: 40px;
                }

                .active {
                    border: none;
                }
            }

        }

        .container {
            padding: 30px 20px;

            .stickList,
            .newsList {
                .list {
                    width: 100%;
                    height: 100%;

                    .article {
                        width: 47.5%;
                        margin-right: 2%;
                        background-color: #eeefef;
                        margin-bottom: 10px;
                        display: inline-block;

                        img {
                            width: 100%;
                        }

                        .article_c {
                            padding: 10px 20px;
                            box-sizing: border-box;

                            h3 {
                                text-align: center;
                                font-weight: 600;
                                font-size: 20px;
                                color: #333;
                            }

                            .time {
                                font-size: 16px;
                                color: #666;
                                text-align: center;
                            }

                            p {
                                font-size: 16px;
                                color: #666;
                                line-height: 30px;
                                margin-top: 20px;
                            }
                        }


                    }

                    .article:nth-child(n+2) {
                        .article_c {

                            h3,
                            .time {
                                text-align: left;
                            }
                        }
                    }
                }
            }

            .stickList {
                float: none;
                width: 100%;

                .list {
                    .article {
                        width: 100%;
                    }

                    .serial {
                        display: inline-block;
                        width: 20px;
                        height: 20px;
                        border-radius: 50%;
                        border: 1px solid #333;
                        text-align: center;
                        line-height: 18px;
                        font-size: 12px;
                        vertical-align: middle;
                        box-sizing: border-box;
                        margin-top: -.7%;
                        margin-right: 5px;
                    }
                }
            }

            .newsList {
                padding-right: 0;
                margin-top: 30px;
                height: auto;
            }
        }
    }


}

@media (max-width:576px) {
    .showBox {
        display: block;
    }

    .content {
        .tabbar_c {
            padding-top: 10px;

            .tabbar_m {
                .tabbar {
                    display: block;
                    text-align: center;
                    font-size: 16px;
                    height: 40px;
                    line-height: 40px;
                }

                .active {
                    border: none;
                }
            }
        }

        .container {
            padding: 20px 20px;

            .stickList,
            .newsList {
                .list {
                    width: 100%;
                    height: 100%;

                    .article {
                        width: 100%;
                        margin-right: 0;
                        background-color: #eeefef;
                        margin-bottom: 10px;
                        display: inline-block;

                        img {
                            width: 100%;
                        }

                        .article_c {
                            padding: 5px 20px;
                            box-sizing: border-box;

                            h3 {
                                text-align: center;
                                font-weight: 600;
                                font-size: 16px;
                                color: #333;
                            }

                            .time {
                                font-size: 14px;
                                color: #666;
                                text-align: center;
                            }

                            p {
                                font-size: 14px;
                                color: #666;
                                line-height: 24px;
                                margin-top: 0px;
                            }
                        }

                    }
                }
            }

            .stickList {
                float: none;
                width: 100%;

                .list {
                    .article {
                        width: 100%;
                    }

                    .serial {
                        display: inline-block;
                        width: 20px;
                        height: 20px;
                        border-radius: 50%;
                        border: 1px solid #333;
                        text-align: center;
                        line-height: 18px;
                        font-size: 12px;
                        vertical-align: middle;
                        box-sizing: border-box;
                        margin-top: -.7%;
                        margin-right: 5px;
                    }
                }
            }

            .newsList {
                padding-right: 0;
                margin-top: 30px;
                height: auto;
            }
        }
    }
}